package com.diy.sigmund.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.diy.sigmund.entity.TestField;
import java.math.BigInteger;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.Map;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author ylm-sigmund
 * @since 2023-05-20
 */
public interface TestFieldMapper extends BaseMapper<TestField> {

    int insertOne(TestField record);

    int insertOneMap(Map<Object, Object> record);

    int insertSelective(TestField record);

    int insertSome(@Param("id") BigInteger id, @Param("stringField") String stringField
            , @Param("intField") int intField, @Param("intNullField") int intNullField
            , @Param("longField") long longField, @Param("longNullField") Long longNullField
            , @Param("bigIntegerField") BigInteger bigIntegerField, @Param("bitField") Boolean bitField
            , @Param("floatField") float floatField, @Param("floatNullField") Float floatNullField
            , @Param("doubleField") double doubleField, @Param("doubleNullField") Double doubleNullField
            , @Param("bigDecimalField") BigInteger bigDecimalField, @Param("dateField") Date dateField
            , @Param("localDateTimeField") LocalDateTime localDateTimeField
    );
}
